package com.sixth.service;

import com.sixth.entity.Goods;
import com.sixth.entity.Limit;
import com.sixth.util.CommonResult;
import com.sixth.util.LayTab;
import com.sixth.util.TableLayUi;

import java.io.IOException;


/**
 * @program: project01
 * @description:
 * @author: 老范
 * @create: 2021-12-17 16:35
 **/

public interface GoodsService {

    LayTab getAllOutGoods(Goods goods, Limit limit, Integer bid);

    LayTab getAllGoods(Goods goods, Limit limit);

    LayTab getGoods(Goods goods, Limit limit);

    CommonResult delete(Integer goodsid,Integer branchid);

   // CommonResult update(Goods record);

    //CommonResult insert(Goods record) ;

    CommonResult getGoodsName(String goodsname);

   // LayTab delGoodsById(Integer goodsid, Integer branchid);

    //盘点信息的查找
    LayTab getAllOutGoodsP(Goods goods, Limit limit, Integer bid);

    CommonResult addOrUpdateGoods(Goods goods)throws IOException;
}
